home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXrrrrmmmmEEEEnnnnuuuummmmeeeerrrraaaatttteeeeDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXrrrrmmmmEEEEnnnnuuuummmmeeeerrrraaaatttteeeeDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XrmEnumerateDatabase - enumerate resource database entries
-
- SSSSYYYYNNNNTTTTAAAAXXXX
- #define
- _X_r_m_E_n_u_m_A_l_l_L_e_v_e_l_s
- 0
- #define
- _X_r_m_E_n_u_m_O_n_e_L_e_v_e_l
- 1
-
- Bool XrmEnumerateDatabase(_d_a_t_a_b_a_s_e, _n_a_m_e__p_r_e_f_i_x, _c_l_a_s_s__p_r_e_f_i_x, _m_o_d_e, _p_r_o_c, _a_r_g)
- XrmDatabase _d_a_t_a_b_a_s_e;
- XrmNameList _n_a_m_e__p_r_e_f_i_x;
- XrmClassList _c_l_a_s_s__p_r_e_f_i_x;
- int _m_o_d_e;
- Bool (*_p_r_o_c)();
- XPointer _a_r_g;
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- _d_a_t_a_b_a_s_e Specifies the resource database.
-
- _n_a_m_e__p_r_e_f_i_x
- Specifies the resource name prefix.
-
- _c_l_a_s_s__p_r_e_f_i_x
- Specifies the resource class prefix.
-
- _m_o_d_e Specifies the number of levels to enumerate.
-
- _p_r_o_c Specifies the procedure that is to be called for
- each matching entry.
-
- _a_r_g Specifies the user-supplied argument that will be
- passed to the procedure.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _X_r_m_E_n_u_m_e_r_a_t_e_D_a_t_a_b_a_s_e function calls the specified
- procedure for each resource in the database that would match
- some completion of the given name/class resource prefix.
- The order in which resources are found is implementation-
- dependent. If mode is _X_r_m_E_n_u_m_O_n_e_L_e_v_e_l, a resource must
- match the given name/class prefix with just a single name
- and class appended. If mode is _X_r_m_E_n_u_m_A_l_l_L_e_v_e_l_s, the
- resource must match the given name/class prefix with one or
- more names and classes appended. If the procedure returns
- _T_r_u_e, the enumeration terminates and the function returns
- _T_r_u_e. If the procedure always returns _F_a_l_s_e, all matching
- resources are enumerated and the function returns _F_a_l_s_e.
-
- The procedure is called with the following arguments:
-
- (*_p_r_o_c)(_d_a_t_a_b_a_s_e, _b_i_n_d_i_n_g_s, _q_u_a_r_k_s, _t_y_p_e, _v_a_l_u_e, _a_r_g)
- XrmDatabase *_d_a_t_a_b_a_s_e;
- XrmBindingList _b_i_n_d_i_n_g_s;
- XrmQuarkList _q_u_a_r_k_s;
-
-
-
- Page 1 (printed 4/30/98)
-
-
-
-
-
-
- XXXXrrrrmmmmEEEEnnnnuuuummmmeeeerrrraaaatttteeeeDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXrrrrmmmmEEEEnnnnuuuummmmeeeerrrraaaatttteeeeDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXX11111111))))
-
-
-
- XrmRepresentation *_t_y_p_e;
- XrmValue *_v_a_l_u_e;
- XPointer _a_r_g;
-
- The bindings and quarks lists are terminated by _N_U_L_L_Q_U_A_R_K.
- Note that pointers to the database and type are passed, but
- these values should not be modified.
-
- The procedure must not modifiy the database. If Xlib has
- been initialized for threads, the procedure is called with
- the database locked and the result of a call by the
- procedure to any Xlib function using the same database is
- not defined.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- XrmGetResource(3X11), XrmInitialize(3X11),
- XrmPutResource(3X11)
- _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 4/30/98)
-
-
-
-